An Injection with Tree Awareness Adding Staircase Join to PostgreSQL

نویسندگان

  • Sabine Mayer
  • Torsten Grust
  • Maurice van Keulen
  • Jens Teubner
چکیده

The XPath accelerator (“pre/post numbering”) has proven to be an efficient encoding to losslessly store XML data in relational databases. Conventional RDBMSs, however, remain ignorant of interesting properties of the encoded tree data, and make thus no or poor use of these properties. At VLDB 2003 we devised a new join algorithm, staircase join, that encapsulates tree-specific knowledge and can turn SQL systems into highly efficient XPath processors. This demonstration delivers the promise we have made at VLDB 2003: a notion of tree-awareness can be injected into a conventional disk-based RDBMS kernel in terms of staircase join. We feature a sideby-side comparison of both, an original and a staircase join-enhanced instance of PostgreSQL. The required changes to PostgreSQL were local. The achieved effect, however, is significant: the demonstration proves that this injection of tree awareness makes PostgreSQL a high-performance XPath processor that closely adheres to the XPath semantics. Accelerating XPath Location Steps ➜ a b c d e f g h i j 0 1 2 3 4 5 6 7 8 9 9 3 2 0 1 8 4 7 5 6 ➜ •

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Injection of Tree Awareness: Adding Staircase Join to PostgreSQL

The syntactic wellformedness constraints of XML (opening and closing tags nest properly) imply that XML processors face the challenge to efficiently handle data that takes the shape of ordered, unranked trees. Although RDBMSs have originally been designed to manage table-shaped data, we propose their use as XML and XPath processors. In our setup, the database system employs a relational XML doc...

متن کامل

Enhancing the Tree Awareness of a Relational DBMS: Adding Staircase Join to PostgreSQL

Given a suitable encoding, any relational DBMS is able to answer queries on tree-structured data. However, conventional relational databases are generally not (made) aware of the underlying tree structure and thus fail to make full use of the encoded information. The staircase join is a new join algorithm intended to enhance the tree awareness of a relational DBMS. It was developed to speed up ...

متن کامل

Staircase Join: Teach a Relational DBMS to Watch its (Axis) Steps

Relational query processors derive much of their effectiveness from the awareness of specific table properties like sort order, size, or absence of duplicate tuples. This text applies (and adapts) this successful principle to database-supported XML and XPath processing: the relational system is made tree aware, i.e., tree properties like subtree size, intersection of paths, inclusion or disjoin...

متن کامل

Staircase Join: Teach a relational DBMS to Watch its (Axis) Steps. 2003

Relational query processors derive much of their effectiveness from the awareness of specific table properties like sort order, size, or absence of duplicate tuples. This text applies (and adapts) this successful principle to database-supported XML and XPath processing: the relational system is made tree aware, i.e., tree properties like subtree size, intersection of paths, inclusion or disjoin...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004